﻿<UserControl x:Class="ABCat.UI.WPF.UI.RecordsFilterUc"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             xmlns:primitives3="clr-namespace:ABCat.UI.WPF.UI.Primitives"
             d:DesignHeight="300"
             d:DesignWidth="300"
             mc:Ignorable="d">
	<UserControl.Resources>
		<BooleanToVisibilityConverter x:Key="btvc"/>
	</UserControl.Resources>
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="1*"/>
			<RowDefinition Height="9"/>
		</Grid.RowDefinitions>
		<xctk:PropertyGrid x:Name="PropertyGrid"
		                   NameColumnWidth="110"
		                   ShowSearchBox="False"
		                   ShowSortOptions="False"
		                   ShowSummary="False"
																					SelectedObject="{Binding .}"
		                   ShowTitle="False" Margin="2" />
		<primitives3:MetroProgressStripe VerticalAlignment="Center" Grid.Row="1" Visibility="{Binding Converter={StaticResource btvc}, Path=IsOnUpdate}" Margin="2,0" />
	</Grid>
</UserControl>
